package com.example.chat_websocket.service;

import com.example.chat_websocket.pojo.User;


/**
 * @version 1.0
 * @Author 张云飞
 * @Date 2021/10/29 0029 21:21
 * @注释
 */

public interface LoginService {

    String login(User user);

    User checkToken(String token);

    void logout(String token);

    String register(User user);
}
